<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8" />
		<script src="js/test.js"></script>
		<title>粒子发生器</title>
	</head>
	<style>
		#canvas1 {
			width: 400px;
			height:400px;
			border: 1px solid red;
			background-color: bisque;
		}
	</style>
	<body>
		<canvas id = 'canvas1' width="400" height="400"></canvas>
		<script>
			var Game = new Particle(document.querySelector('#canvas1'));
		</script>
	</body>
</html>